package com.hockeo.shared.rpc.command.error;

/**
 * Indicates that the user's session has been found invalid by the server.
 *
 * @version $Id$
 * @author jjanke
 */
public class SessionInvalidException extends NotAuthenticatedException
{
  private static final long serialVersionUID = 1L;

  /** Default argumentless constructor for GWT/RPC */
  private SessionInvalidException()
  {}

  /**
   * Creates a new exception indicating that the connected user's session is not valid.
   *
   * @param strLoginUrl the URL of the login page to which the user should be redirected
   */
  public SessionInvalidException( String strLoginUrl )
  {
    super( strLoginUrl );
  }
}
